package com.yunji.storage.service;

import com.yunji.storage.bo.DiscardRemoveBO;
import com.yunji.storage.bo.DiscardSelectQueryBO;
import com.yunji.storage.bo.StorageUpdateAuditBO;
import com.yunji.storage.domain.DiscardTicketDO;


/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.service
 * @Title: IDiscardTicketServiceImpl
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-24 11:14:54      V1.0        HuaAo       新建类
 */

public interface IDiscardTicketService {

    boolean deleteByTicket(DiscardRemoveBO bo);

    boolean create(DiscardTicketDO discardTicket);

    DiscardTicketDO select(Long discardId);

    DiscardTicketDO select(DiscardSelectQueryBO bo);

    boolean update(DiscardTicketDO discardTicket);

    boolean deleteDraft(Long... discardIds);

    void resetAuditStatus(Long discardId);

    boolean updateAuditStatus(StorageUpdateAuditBO auditBO);
}